﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using Transport.Core.Models.Users;

namespace Transport.Core.Models.Parcels
{
    public class ParcelDeliveryGroup
    {
        [Key]
        public int ParcelDeliveryGroupId { get; set; }
        [ForeignKey("User")]
        public int DeliveryUserId { get; set; }
        public virtual User User { get; set; }
        public int CreateUserId { get; set; }
        public int MyOfficeId { get; set; }
        public DateTime CreateDate { get; set; }
        public virtual ICollection<ParcelDelivery> ParcelDeliverys { get; set; }
        public bool IsDeleted { get; set; }
    }
}
